package com.xbongbong.saas.model;

import com.xbongbong.saas.domain.entity.PrinterEntity;
import com.xbongbong.saas.domain.entity.SelectedExpressEntity;

import java.util.List;
import java.util.Map;


/**
 * @author wujian
 */
public interface PrinterModel {
   Long insert(PrinterEntity entity);

   void insertBatch(List<PrinterEntity> list);

   List<PrinterEntity> findEntities(Map<String, Object> param);

   Integer getEntityCount(Map<String, Object> param);

   void update(PrinterEntity entity);

   PrinterEntity getByKey(Long key, String corpid);

   void updateBatchDel(List<Long> list,String corpid);

   /**
    * 批量更新实体
    */
   void updateBatch(List<PrinterEntity> list, String corpid);
}
